package haizhi.fruitmall.service;

import haizhi.fruitmall.pojo.form.GoodsCategoryForm;
import haizhi.fruitmall.pojo.po.GoodsCategory;
import haizhi.fruitmall.pojo.view.GoodsCategoryView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by richa on 2017/8/23
 */

public interface GoodsCategoryService {

    void insert(GoodsCategoryForm form);

    void update(GoodsCategoryForm form);

    void delete(Integer id);

    GoodsCategory getone(Integer id);

    List<GoodsCategory> getall(GoodsCategoryForm form);

    List<GoodsCategoryView> getView(GoodsCategoryForm form);
}
